{extend name="layout/edit" /}
{block name="content"}
<!-- form start -->
<form class="form-horizontal" action="{:url('doBuyGemsSave')}" method="post">
    <div class="box-body">
        <div class="form-group">
            <label class="col-sm-2 control-label">我的房卡余额</label>
            <div class="col-sm-10">
                <label class="form-control-static">{$mygems}</label>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">充值数量</label>
            <div class="col-sm-10">
                <input type="number" name="number" class="form-control input-sm" placeholder="充值数量" required="required" />
            </div>
        </div>
    </div>
    <input type="hidden" name="id" value="{$id}" />
    <!-- /.box-body -->
    <div class="box-footer">
        <button type="button" class="btn btn-default xsui-btn-close-dialog">取消</button>
        <button type="submit" class="btn btn-primary pull-right">立即充值</button>
    </div>
    <!-- /.box-footer -->
</form>
{/block}